package gui.VPOfOperations;

import javax.swing.table.DefaultTableModel;

/**
 * @author Idan
 *Custom Pivot table class
 */
public class FailQuantitiesByMonthReportTable extends DefaultTableModel
{
	
	 public FailQuantitiesByMonthReportTable (Object[][] data, Object[] columnNames) 
	 {
	        super(data,columnNames);
	    }

	 public Class getColumnClass(int columnIndex)
	 {
	        if (columnIndex==0 || columnIndex==1)
	            return Integer.class;
	        else if (columnIndex==2 || columnIndex==3 || columnIndex==4 )
	            return String.class;
	        else 	        
	            return Object.class;
	    }
	 
	 
	 
}
